
extends Node2D


func _ready():
	set_fixed_process(true)
	pass
	

var speed=-20
func _fixed_process(delta):
	var pos=get_pos()
	pos.y+=speed
	set_pos(pos)
	if pos.y<=-100:
		print('hero bullet disposed!')
		queue_free()






func _on_Area2D_area_enter( area ):
	print('hero bullet disposed!')
	queue_free()
